import { defineOverridesPreferences } from '@vben/preferences';

/**
 * @description 项目配置文件
 * 只需要覆盖项目中的一部分配置，不需要的配置不用覆盖，会自动使用默认配置
 */
export const overridesPreferences = defineOverridesPreferences({
  // overrides
  app: {
    name: import.meta.env.VITE_APP_TITLE,
    authPageLayout: 'panel-right',
    enablePreferences: false,
    layout: 'sidebar-mixed-nav',
    enableCheckUpdates: false,
    checkUpdatesInterval: -1,
    accessMode: 'backend',
  },
  copyright: {
    companyName: '普联软件',
  },
  sidebar: {
    enable: true,
    collapsed: false,
    extraCollapse: false,
    width: 160,
  },
  widget: {
    fullscreen: false,
    languageToggle: false,
    lockScreen: false,
    notification: false,
  },
  theme: {
    mode: 'auto',
  },
  logo: {
    enable: true,
    source:
      '',
  },
});
